function watSonAjaxPost(form, btn, valid, sucess, fault, error) {
//    var btnText = btn.html();
    $.ajax({
        url: form.attr("action"),
        data: form.serialize(),
        dataType: "text",
        type: "post",
        success: function (msg) {
            if (sucess != null) {
                sucess(msg);
            }
            else {
                window.location.href = form.attr("target");
            }
        },
        error: function () {
            console.log("提交表单错误");
        },
        complete: function () {
            console.log("提交表单完毕");
            /*btn.removeClass("disabled");
            btn.html(btnText);
            btn.removeAttr("disabled");*/
        }
    })
    /*btn.attr("disabled", "disabled");
    btn.addClass("disabled");
    btn.html("loading...");*/
}

